共用方式為


CodeGenerationUtilities.GetSegmentInputType 方法 (PathSegment, Boolean)

對於指定的 pathSegment,這個方法會傳回其輸入型別的完整限定名稱。

命名空間:  Microsoft.VisualStudio.Modeling.DslDefinition
組件:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (在 Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll 中)

語法

'宣告
Public Shared Function GetSegmentInputType ( _
    segment As PathSegment, _
    searchBaseTypes As Boolean _
) As String
public static string GetSegmentInputType(
    PathSegment segment,
    bool searchBaseTypes
)

參數

  • searchBaseTypes
    類型:System.Boolean
    嘗試從基底角色取得完整名稱

傳回值

類型:System.String

.NET Framework 安全性

請參閱

參考

CodeGenerationUtilities 類別

GetSegmentInputType 多載

Microsoft.VisualStudio.Modeling.DslDefinition 命名空間