共用方式為


ElementPropertyDescriptor.CanSetProperty Method

Namespace:  Microsoft.VisualStudio.Modeling.Design
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)

Syntax

'宣告
Public Shared Function CanSetProperty ( _
    element As ModelElement, _
    propertyInfo As DomainPropertyInfo _
) As Boolean
public static bool CanSetProperty(
    ModelElement element,
    DomainPropertyInfo propertyInfo
)
public:
static bool CanSetProperty(
    ModelElement^ element, 
    DomainPropertyInfo^ propertyInfo
)
static member CanSetProperty : 
        element:ModelElement * 
        propertyInfo:DomainPropertyInfo -> bool 
public static function CanSetProperty(
    element : ModelElement, 
    propertyInfo : DomainPropertyInfo
) : boolean

Parameters

Return Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

ElementPropertyDescriptor Class

Microsoft.VisualStudio.Modeling.Design Namespace