System.Reflection.Assembly.Assembly.GetManifestResourceInfo C# (CSharp) Method

GetManifestResourceInfo() public method

public GetManifestResourceInfo ( String resourceName ) : ManifestResourceInfo
resourceName String
return ManifestResourceInfo
		public virtual ManifestResourceInfo GetManifestResourceInfo (String resourceName)
		{
			if (resourceName == null)
				throw new ArgumentNullException ("resourceName");
			if (resourceName.Length == 0)
				throw new ArgumentException ("String cannot have zero length.");
			ManifestResourceInfo result = new ManifestResourceInfo ();
			bool found = GetManifestResourceInfoInternal (resourceName, result);
			if (found)
				return result;
			else
				return null;
		}