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
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

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