Note
This class is similar to System.Resources.ResXFileRef
in System.Windows.Forms.dll. See the Comparison with System.Resources.ResXFileRef section for the differences.
[SerializableAttribute]
public sealed class ResXFileRef<SerializableAttribute>
Public NotInheritable Class ResXFileRef[SerializableAttribute]
public ref class ResXFileRef sealed[<SealedAttribute>]
[<SerializableAttribute>]
type ResXFileRef = class endThe ResXFileRef class is used to include references to files in an XML resource (.resx) file. A ResXFileRef object represents a link to an external resource in an XML resource (.resx) file. You can add a ResXFileRef object to a .resx file programmatically by one of the following options:
Incompatibility with System.Resources.ResXFileRef:
New features and improvements compared to System.Resources.ResXFileRef:
| ResXFileRef | Initializes a new instance of the ResXFileRef class that references the specified file. |
| FileName | Gets the file name specified in the constructor. |
| TextFileEncoding | Gets the encoding specified in the constructor. |
| TypeName | Gets the type name specified in the constructor. |
| Parse | Converts the string representation of a file reference to a ResXFileRef instance. |
| ToString |
Gets the text representation of the current ResXFileRef object.
(Overrides ObjectToString) |
| TryParse | Converts the string representation of a file reference to a ResXFileRef instance. A return value indicates whether the conversion succeeded. |
| Convert |
Converts an Object specified in the obj parameter to the desired targetType.
See the Examples section of the generic ConvertTTarget(Object, CultureInfo) overload for an example. (Defined by ObjectExtensions) |
| ConvertTTarget |
Converts an Object specified in the obj parameter to the desired TTarget.
(Defined by ObjectExtensions) |
| In |
Gets whether item is among the elements of set.
See the Examples section of the generic InT(T, T) overload for an example. (Defined by ObjectExtensions) |
| TryConvert |
Tries to convert an Object specified in the obj parameter to the desired targetType.
See the Examples section of the ConvertTTarget(Object, CultureInfo) method for a related example. (Defined by ObjectExtensions) |
| TryConvert |
Tries to convert an Object specified in the obj parameter to the desired targetType.
See the Examples section of the ConvertTTarget(Object, CultureInfo) method for a related example. (Defined by ObjectExtensions) |
| TryConvertTTarget |
Tries to convert an Object specified in the obj parameter to the desired TTarget.
See the Examples section of the ConvertTTarget(Object, CultureInfo) method for a related example. (Defined by ObjectExtensions) |
| TryConvertTTarget |
Tries to convert an Object specified in the obj parameter to the desired TTarget.
See the Examples section of the ConvertTTarget(Object, CultureInfo) method for a related example. (Defined by ObjectExtensions) |