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 with get
override TypeDeclaration : CodeTypeDeclaration with get
function get TypeDeclaration () : CodeTypeDeclaration
Property Value
Type: 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