共用方式為


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

Return Value

Type: Microsoft.VisualStudio.Shell.DesignPropertyDescriptor
Returns a DesignPropertyDescriptor.

.NET Framework Security

See Also

Reference

LocalizableProperties Class

LocalizableProperties Members

Microsoft.VisualStudio.Shell Namespace