Deployment Tools Foundation
Explicit Operator
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.Resources ► ResourceType ► ExplicitNarrowingExplicitExplicitExplicit(ResourceType to String)
Explicitly converts a ResourceType to a string.
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
public static explicit operator string ( ResourceType resourceType )
Public Shared Narrowing Operator CType ( resourceType As ResourceType ) As String
static explicit operator String^ ( ResourceType^ resourceType )
F# does not support the declaration of new casting operators.
Parameters
- resourceType (ResourceType)
- ResourceType object to convert.
Return Value
String
The resource type string.
The resource type string.
Remarks
Unlike ToString()()()(), this conversion does not return
the common name of well-known integer resource types. Therefore,
the returned string is suitable for passing directly to Win32
resource APIs that accept resource type strings.
Assembly: Microsoft.Deployment.Resources (Module: Microsoft.Deployment.Resources.dll) Version: 3.0.0.0 (3.11.1.2318)