Share via


IVsWCFReferenceGroup.SetExtensionData(String, Byte[]) Method

Definition

Sets the extension data for a Windows Communication Foundation (WCF) service reference.

public:
 void SetExtensionData(System::String ^ name, cli::array <System::Byte> ^ content);
public:
 void SetExtensionData(Platform::String ^ name, Platform::Array <byte> ^ content);
void SetExtensionData(std::wstring const & name, std::Array <byte> const & content);
public void SetExtensionData (string name, byte[] content);
abstract member SetExtensionData : string * byte[] -> unit
Public Sub SetExtensionData (name As String, content As Byte())

Parameters

name
String

A String that contains the file name.

content
Byte[]

A Byte array that contains the extension data.

Remarks

Extension data lets you associate additional properties with a reference group as name/value pairs. The information is stored in a separate file and added to the Extensions element in the .svcmap file.

The name parameter should be a valid file name (without a path). The binary data is transparent to the reference group.

Applies to