Share via


IVsWCFReferenceGroup.GetExtensionData(String) Method

Definition

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

public:
 cli::array <System::Byte> ^ GetExtensionData(System::String ^ name);
public:
 Platform::Array <byte> ^ GetExtensionData(Platform::String ^ name);
std::Array <byte> GetExtensionData(std::wstring const & name);
public byte[] GetExtensionData (string name);
abstract member GetExtensionData : string -> byte[]
Public Function GetExtensionData (name As String) As Byte()

Parameters

name
String

A string that contains the file name.

Returns

Byte[]

A Byte array that contains the data in name.

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