共用方式為


Compilation.CreateErrorNamespaceSymbol(INamespaceSymbol, String) Method

Definition

Returns a new INamespaceSymbol representing an error (missing) namespace with the given name.

public:
 Microsoft::CodeAnalysis::INamespaceSymbol ^ CreateErrorNamespaceSymbol(Microsoft::CodeAnalysis::INamespaceSymbol ^ container, System::String ^ name);
public Microsoft.CodeAnalysis.INamespaceSymbol CreateErrorNamespaceSymbol (Microsoft.CodeAnalysis.INamespaceSymbol container, string name);
member this.CreateErrorNamespaceSymbol : Microsoft.CodeAnalysis.INamespaceSymbol * string -> Microsoft.CodeAnalysis.INamespaceSymbol
Public Function CreateErrorNamespaceSymbol (container As INamespaceSymbol, name As String) As INamespaceSymbol

Parameters

container
INamespaceSymbol
name
String

Returns

Applies to