LocalizableProperties.CreateDesignPropertyDescriptor Method
Returns a DesignPropertyDescriptor wrapper on the given property descriptor.
Namespace: Microsoft.VisualStudio.Shell
Assemblies: Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.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
)
abstract CreateDesignPropertyDescriptor :
p:PropertyDescriptor -> DesignPropertyDescriptor
override CreateDesignPropertyDescriptor :
p:PropertyDescriptor -> DesignPropertyDescriptor
public function CreateDesignPropertyDescriptor(
p : PropertyDescriptor
) : DesignPropertyDescriptor
Parameters
- p
Type: System.ComponentModel.PropertyDescriptor
Property descriptor.
Return Value
Type: Microsoft.VisualStudio.Shell.DesignPropertyDescriptor
Returns a DesignPropertyDescriptor.
.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.