Edit

Share via


ISymbolWriter.UsingNamespace(String) Method

Definition

Specifies that the given, fully qualified namespace name is used within the open lexical scope.

public:
 void UsingNamespace(System::String ^ fullName);
public void UsingNamespace (string fullName);
abstract member UsingNamespace : string -> unit
Public Sub UsingNamespace (fullName As String)

Parameters

fullName
String

The fully qualified name of the namespace.

Remarks

Closing the current scope prevents this scope from using the namespace. The namespace remains in use in all scopes that inherit from the current open scope.

Applies to