Creates a new DesignPropertyDescriptor from the specified PropertyDescriptor.
Namespace: Microsoft.VisualStudio.Package
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Public Overridable Function CreateDesignPropertyDescriptor ( _
p As PropertyDescriptor _
) As DesignPropertyDescriptor
'使用
Dim instance As LocalizableProperties
Dim p As PropertyDescriptor
Dim returnValue As DesignPropertyDescriptor
returnValue = instance.CreateDesignPropertyDescriptor(p)
public virtual DesignPropertyDescriptor CreateDesignPropertyDescriptor(
PropertyDescriptor p
)
public:
virtual DesignPropertyDescriptor^ CreateDesignPropertyDescriptor(
PropertyDescriptor^ p
)
public function CreateDesignPropertyDescriptor(
p : PropertyDescriptor
) : DesignPropertyDescriptor
Parameters
Return Value
Type: Microsoft.VisualStudio.Package.DesignPropertyDescriptor
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.