CodeGenerationUtilities.RequiresGeneratedPropertyDescriptor 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
如果给定的说明符需要生成 PropertyDescriptor 派生类,则返回 true,否则返回 false。
public:
static bool RequiresGeneratedPropertyDescriptor(Microsoft::VisualStudio::Modeling::DslDefinition::CustomPropertyDescriptor ^ descriptor);
public static bool RequiresGeneratedPropertyDescriptor (Microsoft.VisualStudio.Modeling.DslDefinition.CustomPropertyDescriptor descriptor);
static member RequiresGeneratedPropertyDescriptor : Microsoft.VisualStudio.Modeling.DslDefinition.CustomPropertyDescriptor -> bool
Public Shared Function RequiresGeneratedPropertyDescriptor (descriptor As CustomPropertyDescriptor) As Boolean
参数
- descriptor
- CustomPropertyDescriptor