ResXResourceWriter.AddMetadata ResXResourceWriter.AddMetadata ResXResourceWriter.AddMetadata ResXResourceWriter.AddMetadata Method

Definition

Adds design-time properties to the list of resources to write.

Overloads

AddMetadata(String, Byte[]) AddMetadata(String, Byte[]) AddMetadata(String, Byte[]) AddMetadata(String, Byte[])

Adds a design-time property whose value is specified as a byte array to the list of resources to write.

AddMetadata(String, Object) AddMetadata(String, Object) AddMetadata(String, Object) AddMetadata(String, Object)

Adds a design-time property whose value is specified as an object to the list of resources to write.

AddMetadata(String, String) AddMetadata(String, String) AddMetadata(String, String) AddMetadata(String, String)

Adds a design-time property whose value is specified as a string to the list of resources to write.

AddMetadata(String, Byte[]) AddMetadata(String, Byte[]) AddMetadata(String, Byte[]) AddMetadata(String, Byte[])

Adds a design-time property whose value is specified as a byte array to the list of resources to write.

public:
 void AddMetadata(System::String ^ name, cli::array <System::Byte> ^ value);
public void AddMetadata (string name, byte[] value);
member this.AddMetadata : string * byte[] -> unit
Public Sub AddMetadata (name As String, value As Byte())

Parameters

name
String String String String

The name of a property.

value
Byte[]

A byte array containing the value of the property to add.

Exceptions

The resource specified by the name parameter has already been added.

AddMetadata(String, Object) AddMetadata(String, Object) AddMetadata(String, Object) AddMetadata(String, Object)

Adds a design-time property whose value is specified as an object to the list of resources to write.

public:
 void AddMetadata(System::String ^ name, System::Object ^ value);
public void AddMetadata (string name, object value);
member this.AddMetadata : string * obj -> unit
Public Sub AddMetadata (name As String, value As Object)

Parameters

name
String String String String

The name of a property.

value
Object Object Object Object

An object that is the value of the property to add.

Exceptions

The resource specified by the name parameter has already been added.

AddMetadata(String, String) AddMetadata(String, String) AddMetadata(String, String) AddMetadata(String, String)

Adds a design-time property whose value is specified as a string to the list of resources to write.

public:
 void AddMetadata(System::String ^ name, System::String ^ value);
public void AddMetadata (string name, string value);
member this.AddMetadata : string * string -> unit
Public Sub AddMetadata (name As String, value As String)

Parameters

name
String String String String

The name of a property.

value
String String String String

A string that is the value of the property to add.

Exceptions

The resource specified by the name property has already been added.

Applies to