Share via


CodeGenerationUtilities.RequiresGeneratedPropertyDescriptor Method

Returns true if the given descriptor requires a PropertyDescriptor derived class to be generated, false otherwise.

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)

Syntax

'Declaration
Public Shared Function RequiresGeneratedPropertyDescriptor ( _
    descriptor As CustomPropertyDescriptor _
) As Boolean
public static bool RequiresGeneratedPropertyDescriptor(
    CustomPropertyDescriptor descriptor
)
public:
static bool RequiresGeneratedPropertyDescriptor(
    CustomPropertyDescriptor^ descriptor
)
static member RequiresGeneratedPropertyDescriptor : 
        descriptor:CustomPropertyDescriptor -> bool
public static function RequiresGeneratedPropertyDescriptor(
    descriptor : CustomPropertyDescriptor
) : boolean

Parameters

Return Value

Type: Boolean

.NET Framework Security

See Also

Reference

CodeGenerationUtilities Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace