共用方式為


CodeGenerationUtilities.GetSegmentOutputType 方法 (PathSegment, Boolean)

指定的 pathSegment 中,這個方法會傳回它的輸出完全合格的型別名稱。

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

語法

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

參數

  • searchBaseTypes
    型別:System.Boolean
    然後再試,並從該基底的角色取得完整的名稱

傳回值

型別:System.String

.NET Framework 安全性

請參閱

參考

CodeGenerationUtilities 類別

GetSegmentOutputType 多載

Microsoft.VisualStudio.Modeling.DslDefinition 命名空間