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
)
參數
- segment
型別:Microsoft.VisualStudio.Modeling.DslDefinition.PathSegment
PathSegment
- searchBaseTypes
型別:System.Boolean
然後再試,並從該基底的角色取得完整的名稱
傳回值
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。