CodeGenerationUtilities.IsStringProperty Method
returns true if the property is of type string.
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 IsStringProperty ( _
domainProperty As DomainProperty _
) As Boolean
public static bool IsStringProperty(
DomainProperty domainProperty
)
public:
static bool IsStringProperty(
DomainProperty^ domainProperty
)
static member IsStringProperty :
domainProperty:DomainProperty -> bool
public static function IsStringProperty(
domainProperty : DomainProperty
) : boolean
Parameters
- domainProperty
Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainProperty
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.