Konstruktor ProvideCodeGeneratorAttribute —
Przestrzeń nazw: Microsoft.VisualStudio.TextTemplating.VSHost
Zestaw: Microsoft.VisualStudio.TextTemplating.VSHost.12.0 (w Microsoft.VisualStudio.TextTemplating.VSHost.12.0.dll)
Składnia
'Deklaracja
Public Sub New ( _
type As Type, _
name As String, _
description As String, _
generatesDesignTimeSource As Boolean _
)
public ProvideCodeGeneratorAttribute(
Type type,
string name,
string description,
bool generatesDesignTimeSource
)
public:
ProvideCodeGeneratorAttribute(
Type^ type,
String^ name,
String^ description,
bool generatesDesignTimeSource
)
new :
type:Type *
name:string *
description:string *
generatesDesignTimeSource:bool -> ProvideCodeGeneratorAttribute
public function ProvideCodeGeneratorAttribute(
type : Type,
name : String,
description : String,
generatesDesignTimeSource : boolean
)
Parametry
- type
Typ: Type
- name
Typ: String
- description
Typ: String
- generatesDesignTimeSource
Typ: Boolean
Zabezpieczenia programu .NET Framework
- Pełne zaufanie do bezpośredniego wywołującego. Tego elementu członkowskiego nie można używać w kodzie częściowo zaufanym. Aby uzyskać więcej informacji, zobacz Używanie bibliotek pochodzących z częściowo zaufanego kodu.
Zobacz też
Informacje
ProvideCodeGeneratorAttribute Klasa
Przestrzeń nazw Microsoft.VisualStudio.TextTemplating.VSHost