ResourceCollectionGetResourceByType Method |
Gets the first resource (if any) of the specified type.
Namespace: Kettic.AspNet.ControlsAssembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntax public Resource GetResourceByType(
string type
)
Public Function GetResourceByType (
type As String
) As Resource
public:
Resource^ GetResourceByType(
String^ type
)
member GetResourceByType :
type : string -> Resource
Parameters
- type
- Type: SystemString
The type of resource to search for.
Return Value
Type:
ResourceThe first resource of the specified type; null if no resource matches.
See Also