Craigoh1
Craigoh1

Reputation: 167

In VB what is meant when a line of code is placed between <>

what is meant by the <> in this code?

    <System.AddIn.AddIn("ScriptMain", Version:="1.0", Publisher:="", Description:="")> _
<System.CLSCompliantAttribute(False)> Partial Public Class ScriptMain
    Inherits Microsoft.SqlServer.Dts.Tasks.ScriptTask.VSTARTScriptObjectModelBase

Upvotes: 2

Views: 44

Answers (1)

Kirill Shlenskiy
Kirill Shlenskiy

Reputation: 9587

What you're seeing is attributes (MSDN).

It is permissible for them to be placed on the same line as type or member declaration (as is the case with the CLSCompliantAttribute in your example).

Upvotes: 2

Related Questions