Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Returns a value that indicates whether a descriptor should be created for the specified domain property.
Namespace: Microsoft.VisualStudio.Modeling.Design
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Declaration
Protected Overridable Function ShouldCreatePropertyDescriptor ( _
requestor As ModelElement, _
domainProperty As DomainPropertyInfo _
) As Boolean
protected virtual bool ShouldCreatePropertyDescriptor(
ModelElement requestor,
DomainPropertyInfo domainProperty
)
protected:
virtual bool ShouldCreatePropertyDescriptor(
ModelElement^ requestor,
DomainPropertyInfo^ domainProperty
)
abstract ShouldCreatePropertyDescriptor :
requestor:ModelElement *
domainProperty:DomainPropertyInfo -> bool
override ShouldCreatePropertyDescriptor :
requestor:ModelElement *
domainProperty:DomainPropertyInfo -> bool
protected function ShouldCreatePropertyDescriptor(
requestor : ModelElement,
domainProperty : DomainPropertyInfo
) : boolean
Parameters
- requestor
Type: Microsoft.VisualStudio.Modeling.ModelElement
The model element that has the domain property.
- domainProperty
Type: Microsoft.VisualStudio.Modeling.DomainPropertyInfo
The domain property to return a value for.
Return Value
Type: System.Boolean
The value of the Browsable property of the BrowsableAttribute attribute of the domain property; or true, if the property does not have a BrowsableAttribute.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | domainProperty is nulla null reference (Nothing in Visual Basic). |
.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.