Compartilhar via


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

Return Value

Type: Microsoft.VisualStudio.VCCodeModel.VCCodeUsingAlias
The added item.

.NET Framework Security

See Also

Reference

VCCodeModel Interface

Microsoft.VisualStudio.VCCodeModel Namespace