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 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。