Condividi tramite


CodeDomDocDataAdapter.TypeDeclaration Property

Gets the code type declaration for this document.

Namespace:  Microsoft.VisualStudio.Shell.Design.Serialization.CodeDom
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

Syntax

'Dichiarazione
Public Overridable ReadOnly Property TypeDeclaration As CodeTypeDeclaration
    Get
'Utilizzo
Dim instance As CodeDomDocDataAdapter
Dim value As CodeTypeDeclaration

value = instance.TypeDeclaration
public virtual CodeTypeDeclaration TypeDeclaration { get; }
public:
virtual property CodeTypeDeclaration^ TypeDeclaration {
    CodeTypeDeclaration^ get ();
}
abstract TypeDeclaration : CodeTypeDeclaration
override TypeDeclaration : CodeTypeDeclaration
function get TypeDeclaration () : CodeTypeDeclaration

Property Value

Type: System.CodeDom.CodeTypeDeclaration
The CodeTypeDeclaration, or the first one if there are multiple types in the document.

.NET Framework Security

See Also

Reference

CodeDomDocDataAdapter Class

CodeDomDocDataAdapter Members

Microsoft.VisualStudio.Shell.Design.Serialization.CodeDom Namespace