CodeGenerator.OutputTypeAttributes-Methode
Generiert Code für die angegebenen Typattribute.
Namespace: System.CodeDom.Compiler
Assembly: System (in system.dll)
Syntax
'Declaration
Protected Overridable Sub OutputTypeAttributes ( _
attributes As TypeAttributes, _
isStruct As Boolean, _
isEnum As Boolean _
)
'Usage
Dim attributes As TypeAttributes
Dim isStruct As Boolean
Dim isEnum As Boolean
Me.OutputTypeAttributes(attributes, isStruct, isEnum)
protected virtual void OutputTypeAttributes (
TypeAttributes attributes,
bool isStruct,
bool isEnum
)
protected:
virtual void OutputTypeAttributes (
TypeAttributes attributes,
bool isStruct,
bool isEnum
)
protected void OutputTypeAttributes (
TypeAttributes attributes,
boolean isStruct,
boolean isEnum
)
protected function OutputTypeAttributes (
attributes : TypeAttributes,
isStruct : boolean,
isEnum : boolean
)
Parameter
- attributes
Ein TypeAttributes-Enumerationswert, der die Typattribute angibt, für die Code generiert werden soll.
- isStruct
true, wenn der Typ eine Struktur ist, andernfalls false.
- isEnum
true, wenn der Typ eine Enumeration ist, andernfalls false.
Plattformen
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.
Versionsinformationen
.NET Framework
Unterstützt in: 2.0, 1.1, 1.0
Siehe auch
Referenz
CodeGenerator-Klasse
CodeGenerator-Member
System.CodeDom.Compiler-Namespace
TypeAttributes