MarkupDocumentTreeManager.RootType Property
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Gets the type of the root element.
Namespace: Microsoft.Windows.Design.Documents.Trees
Assembly: Microsoft.Windows.Design.Markup (in Microsoft.Windows.Design.Markup.dll)
Syntax
'Declaration
Public ReadOnly Property RootType As Type
'Usage
Dim instance As MarkupDocumentTreeManager
Dim value As Type
value = instance.RootType
public Type RootType { get; }
public:
property Type^ RootType {
Type^ get ();
}
public function get RootType () : Type
Property Value
Type: System.Type
The type of the root element even, if the document contains errors. If the document could not be parsed enough to determine the type of the root element, nulla null reference (Nothing in Visual Basic) is returned.
.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
MarkupDocumentTreeManager Class
MarkupDocumentTreeManager Members
Microsoft.Windows.Design.Documents.Trees Namespace