Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the declaring type for the resulting virtual type.
Namespace: Microsoft.VisualStudio.Shell.Design
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
Syntax
'Declaration
Public Property DeclaringType As Type
'Usage
Dim instance As VirtualTypeBuilder
Dim value As Type
value = instance.DeclaringType
instance.DeclaringType = value
public Type DeclaringType { get; set; }
public:
property Type^ DeclaringType {
Type^ get ();
void set (Type^ value);
}
public function get DeclaringType () : Type
public function set DeclaringType (value : Type)
Property Value
Type: System.Type
A Type that represents a DeclaringType.
Remarks
The DeclaringType is usually nulla null reference (Nothing in Visual Basic), but can point to another type to create a nested type.
.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.