ISymbolWriter.OpenNamespace(String) Method

Definition

Opens a new namespace.

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

Parameters

name
String

The name of the new namespace.

Remarks

Call this method before defining methods or variables that exist within a namespace. Namespaces can be nested.

Applies to