共用方式為


Assembly.GetManifestResourceNames Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Returns the names of all the resources in this assembly.

Namespace:  System.Reflection
Assembly:  mscorlib (in mscorlib.dll)

Syntax

'Declaration
Public Overridable Function GetManifestResourceNames As String()
public virtual string[] GetManifestResourceNames()

Return Value

Type: array<System.String[]
An array of type String containing the names of all the resources.

Exceptions

Exception Condition
MemberAccessException

The method is invoked late-bound through mechanisms such as Type.InvokeMember.

Remarks

In Silverlight-based applications, resource information is returned only if the resource is visible to the caller.

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Xbox 360, Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.