ElementTypeDescriptor::ShouldCreatePropertyDescriptor Method (ModelElement^, DomainPropertyInfo^)

 

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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)

protected:
virtual bool ShouldCreatePropertyDescriptor(
	ModelElement^ requestor,
	DomainPropertyInfo^ domainProperty
)

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.

Exception Condition
ArgumentNullException

domainProperty is null.

Return to top
Show: