ResXResourceManagerSetMetaObject Method
Adds or replaces a metadata object in the current
ResXResourceManager with the specified
name for the specified
culture.
Namespace: KGySoft.ResourcesAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 8.1.0
public void SetMetaObject(
string name,
Object? value,
CultureInfo? culture = null
)
Public Sub SetMetaObject (
name As String,
value As Object,
Optional culture As CultureInfo = Nothing
)
public:
virtual void SetMetaObject(
String^ name,
Object^ value,
CultureInfo^ culture = nullptr
) sealed
abstract SetMetaObject :
name : string *
value : Object *
?culture : CultureInfo
(* Defaults:
let _culture = defaultArg culture null
*)
-> unit
override SetMetaObject :
name : string *
value : Object *
?culture : CultureInfo
(* Defaults:
let _culture = defaultArg culture null
*)
-> unit
- name String
- The name of the metadata to set.
- value Object
- The value of the metadata to set. If , then a null reference will be explicitly
stored for the specified culture.
- culture CultureInfo (Optional)
- The culture of the metadata to set.
If this value is , the CultureInfo object is obtained by using the CultureInfo.InvariantCulture property. This parameter is optional.
Default value: .
IExpandoResourceManagerSetMetaObject(String, Object, CultureInfo)
If
value is
, a null reference will be explicitly stored.
Its effect is similar to the
RemoveMetaObject method: the subsequent
GetMetaObject calls
with the same
culture will return
.
However, enumerating the result set returned by
GetExpandoResourceSet method will return the meta objects with
value.