Compartilhar via


VCCodeStruct.AddUsingAlias(String, Object, Object, vsCMAccess) Method

Definition

Microsoft::VisualStudio::VCCodeModel::VCCodeUsingAlias AddUsingAlias(std::wstring const & Name, winrt::Windows::Foundation::IInspectable const & Type, winrt::Windows::Foundation::IInspectable const & Position, EnvDTE::vsCMAccess Access = EnvDTE.vsCMAccess.vsCMAccessDefault);
[System.Runtime.InteropServices.DispId(601)]
public Microsoft.VisualStudio.VCCodeModel.VCCodeUsingAlias AddUsingAlias (string Name, object Type, object Position, EnvDTE.vsCMAccess Access = EnvDTE.vsCMAccess.vsCMAccessDefault);
[<System.Runtime.InteropServices.DispId(601)>]
abstract member AddUsingAlias : string * obj * obj * EnvDTE.vsCMAccess -> Microsoft.VisualStudio.VCCodeModel.VCCodeUsingAlias
Public Function AddUsingAlias (Name As String, Optional Type As Object, Optional Position As Object, Optional Access As vsCMAccess = EnvDTE.vsCMAccess.vsCMAccessDefault) As VCCodeUsingAlias

Parameters

Name
String
Type
Object
Position
Object
Access
vsCMAccess

Returns

Attributes

Applies to