WindowsRuntimeMetadata.ResolveNamespace WindowsRuntimeMetadata.ResolveNamespace WindowsRuntimeMetadata.ResolveNamespace WindowsRuntimeMetadata.ResolveNamespace Method

Definition

Locates the Windows Metadata files for a specified namespace, given a list of locations to search.

Overloads

ResolveNamespace(String, IEnumerable<String>) ResolveNamespace(String, IEnumerable<String>) ResolveNamespace(String, IEnumerable<String>) ResolveNamespace(String, IEnumerable<String>)

Locates the Windows Metadata files for the specified namespace, given the specified locations to search.

ResolveNamespace(String, String, IEnumerable<String>) ResolveNamespace(String, String, IEnumerable<String>) ResolveNamespace(String, String, IEnumerable<String>) ResolveNamespace(String, String, IEnumerable<String>)

Locates the Windows Metadata files for the specified namespace, given the specified locations to search.

ResolveNamespace(String, IEnumerable<String>) ResolveNamespace(String, IEnumerable<String>) ResolveNamespace(String, IEnumerable<String>) ResolveNamespace(String, IEnumerable<String>)

Locates the Windows Metadata files for the specified namespace, given the specified locations to search.

public:
 static System::Collections::Generic::IEnumerable<System::String ^> ^ ResolveNamespace(System::String ^ namespaceName, System::Collections::Generic::IEnumerable<System::String ^> ^ packageGraphFilePaths);
[System.Security.SecurityCritical]
public static System.Collections.Generic.IEnumerable<string> ResolveNamespace (string namespaceName, System.Collections.Generic.IEnumerable<string> packageGraphFilePaths);
static member ResolveNamespace : string * seq<string> -> seq<string>
Public Shared Function ResolveNamespace (namespaceName As String, packageGraphFilePaths As IEnumerable(Of String)) As IEnumerable(Of String)

Parameters

namespaceName
String String String String

The namespace to resolve.

packageGraphFilePaths
IEnumerable<String>

The application paths to search for Windows Metadata files, or null to search only for Windows Metadata files from the operating system installation.

Returns

An enumerable list of strings that represent the Windows Metadata files that define namespaceName.

Exceptions

Remarks

Calling this method overload is equivalent to calling the ResolveNamespace(String, String, IEnumerable<String>) method overload and specifying null for the windowsSdkFilePath parameter.

Security

SecurityCriticalAttribute
requires full trust for the immediate caller. This member cannot be used by partially trusted or transparent code.

ResolveNamespace(String, String, IEnumerable<String>) ResolveNamespace(String, String, IEnumerable<String>) ResolveNamespace(String, String, IEnumerable<String>) ResolveNamespace(String, String, IEnumerable<String>)

Locates the Windows Metadata files for the specified namespace, given the specified locations to search.

public:
 static System::Collections::Generic::IEnumerable<System::String ^> ^ ResolveNamespace(System::String ^ namespaceName, System::String ^ windowsSdkFilePath, System::Collections::Generic::IEnumerable<System::String ^> ^ packageGraphFilePaths);
[System.Security.SecurityCritical]
public static System.Collections.Generic.IEnumerable<string> ResolveNamespace (string namespaceName, string windowsSdkFilePath, System.Collections.Generic.IEnumerable<string> packageGraphFilePaths);
static member ResolveNamespace : string * string * seq<string> -> seq<string>
Public Shared Function ResolveNamespace (namespaceName As String, windowsSdkFilePath As String, packageGraphFilePaths As IEnumerable(Of String)) As IEnumerable(Of String)

Parameters

namespaceName
String String String String

The namespace to resolve.

windowsSdkFilePath
String String String String

The path to search for Windows Metadata files provided by the SDK, or null to search for Windows Metadata files from the operating system installation.

packageGraphFilePaths
IEnumerable<String>

The application paths to search for Windows Metadata files.

Returns

An enumerable list of strings that represent the Windows Metadata files that define namespaceName.

Exceptions

Remarks

The path you specify for windowsSdkFilePath is searched only for namespaces that begin with Windows.

Security

SecurityCriticalAttribute
requires full trust for the immediate caller. This member cannot be used by partially trusted or transparent code.

Applies to