ICustomTypeDescriptor.GetDefaultProperty Method
This function searches the property list for the property with the same name as the DefaultProperty specified, and returns a property descriptor for it. If no property is found that matches DefaultProperty, a null reference is returned instead.
Namespace: Microsoft.VisualStudio.Data.Tools.Package.Internal
Assembly: Microsoft.VisualStudio.Data.Tools.Package (in Microsoft.VisualStudio.Data.Tools.Package.dll)
Syntax
'Declaration
Private Function GetDefaultProperty As PropertyDescriptor
Implements ICustomTypeDescriptor.GetDefaultProperty
'Usage
Dim instance As PropertyGroup
Dim returnValue As PropertyDescriptor
returnValue = CType(instance, ICustomTypeDescriptor).GetDefaultProperty()
PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty()
private:
virtual PropertyDescriptor^ GetDefaultProperty() sealed = ICustomTypeDescriptor::GetDefaultProperty
private abstract GetDefaultProperty : unit -> PropertyDescriptor
private override GetDefaultProperty : unit -> PropertyDescriptor
JScript supports the use of explicit interface implementations, but not the declarations of new ones.
Return Value
Type: System.ComponentModel..::..PropertyDescriptor
Implements
ICustomTypeDescriptor..::..GetDefaultProperty() () () ()
See Also
Reference
Microsoft.VisualStudio.Data.Tools.Package.Internal Namespace