IVsWCFReferenceGroup.SetExtensionData(String, Byte[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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.