Deployment Tools Foundation
Find Method (resFile, type)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.Resources ► ResourceCollection ► Find(String, ResourceType)
Locates all resources in a file of a given type, including all languages. For each located resource,
a Resource instance (or subclass) is added to the collection.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public void Find( string resFile, ResourceType type )
Public Sub Find ( _ resFile As String, _ type As ResourceType _ )
public: void Find( String^ resFile, ResourceType^ type )
Parameters
- resFile (String)
- The file to be searched for resources.
- type (ResourceType)
- The type of resource to search for; may be one of the ResourceType constants or a user-defined type.
Exceptions
Exception | Condition |
---|---|
IOException | resources could not be read from the file |