VCCodeModel.AddUsingAlias Method
Adds a using alias.
Namespace: Microsoft.VisualStudio.VCCodeModel
Assembly: Microsoft.VisualStudio.VCCodeModel (in Microsoft.VisualStudio.VCCodeModel.dll)
Syntax
'Declaration
Function AddUsingAlias ( _
Name As String, _
Location As Object, _
Type As Object, _
Position As Object, _
Access As vsCMAccess _
) As VCCodeUsingAlias
VCCodeUsingAlias AddUsingAlias(
string Name,
Object Location,
Object Type,
Object Position,
vsCMAccess Access
)
VCCodeUsingAlias^ AddUsingAlias(
String^ Name,
Object^ Location,
Object^ Type,
Object^ Position,
vsCMAccess Access
)
abstract AddUsingAlias :
Name:string *
Location:Object *
Type:Object *
Position:Object *
Access:vsCMAccess -> VCCodeUsingAlias
function AddUsingAlias(
Name : String,
Location : Object,
Type : Object,
Position : Object,
Access : vsCMAccess
) : VCCodeUsingAlias
Parameters
Name
Type: System.StringThe name.
Location
Type: System.ObjectThe location.
Type
Type: System.ObjectThe type.
Position
Type: System.ObjectThe position.
Access
Type: EnvDTE.vsCMAccessThe access.
Return Value
Type: Microsoft.VisualStudio.VCCodeModel.VCCodeUsingAlias
The added item.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.