VCCodeClass.AddUsingAlias 方法
命名空间: Microsoft.VisualStudio.VCCodeModel
程序集: Microsoft.VisualStudio.VCCodeModel(在 Microsoft.VisualStudio.VCCodeModel.dll 中)
语法
声明
Function AddUsingAlias ( _
Name As String, _
Type As Object, _
Position As Object, _
Access As vsCMAccess _
) As VCCodeUsingAlias
VCCodeUsingAlias AddUsingAlias(
string Name,
Object Type,
Object Position,
vsCMAccess Access
)
VCCodeUsingAlias^ AddUsingAlias(
String^ Name,
Object^ Type,
Object^ Position,
vsCMAccess Access
)
abstract AddUsingAlias :
Name:string *
Type:Object *
Position:Object *
Access:vsCMAccess -> VCCodeUsingAlias
function AddUsingAlias(
Name : String,
Type : Object,
Position : Object,
Access : vsCMAccess
) : VCCodeUsingAlias
参数
- Name
类型:String
- Type
类型:Object
- Position
类型:Object
- Access
类型:vsCMAccess
返回值
类型:Microsoft.VisualStudio.VCCodeModel.VCCodeUsingAlias
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。