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

Syntax

'Declaração
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: System.Boolean

.NET Framework Security

See Also

Reference

CodeGenerationUtilities Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace