ElementPropertyDescriptor.CanSetProperty Method
Namespace: Microsoft.VisualStudio.Modeling.Design
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Dichiarazione
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
- element
Type: Microsoft.VisualStudio.Modeling.ModelElement
- propertyInfo
Type: Microsoft.VisualStudio.Modeling.DomainPropertyInfo
Return Value
Type: System.Boolean
.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.