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
'宣告
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
- 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.