Share via


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

'Declaration
Public Overridable ReadOnly Property TypeDeclaration As CodeTypeDeclaration
'Usage
Dim instance As CodeDomDocDataAdapter 
Dim value As CodeTypeDeclaration 

value = instance.TypeDeclaration
public virtual CodeTypeDeclaration TypeDeclaration { get; }
public:
virtual property CodeTypeDeclaration^ TypeDeclaration {
    CodeTypeDeclaration^ get ();
}
public 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