VCFileCodeModel.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 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。