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
- 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.