DataDefaultObjectAttribute.ClassId Property
Gets the class ID that identifies the default object class type.
Namespace: Microsoft.VisualStudio.Data.Core
Assembly: Microsoft.VisualStudio.Data.Core (in Microsoft.VisualStudio.Data.Core.dll)
Syntax
'宣言
Public ReadOnly Property ClassId As Guid
'使用
Dim instance As DataDefaultObjectAttribute
Dim value As Guid
value = instance.ClassId
public Guid ClassId { get; }
public:
property Guid ClassId {
Guid get ();
}
public function get ClassId () : Guid
Property Value
Type: System.Guid
The class ID that identifies the default object class type.
Remarks
If the class ID used to create an instance of this attribute is not in a valid format, getting this property will return an empty GUID.
Permissions
- 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
DataDefaultObjectAttribute Class