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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.Shell.Design.Serialization.CodeDom Namespace