Partager via


IVsWCFReferenceGroup.SetExtensionData Method

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

Namespace:  Microsoft.VisualStudio.WCFReference.Interop
Assembly:  Microsoft.VisualStudio.WCFReference.Interop (in Microsoft.VisualStudio.WCFReference.Interop.dll)

Syntax

'Déclaration
Sub SetExtensionData ( _
    name As String, _
    content As Byte() _
)
void SetExtensionData(
    string name,
    byte[] content
)
void SetExtensionData(
    [InAttribute] String^ name, 
    [InAttribute] array<unsigned char>^ content
)
abstract SetExtensionData : 
        name:string * 
        content:byte[] -> unit 
function SetExtensionData(
    name : String, 
    content : byte[]
)

Parameters

  • content
    Type: array<System.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.

.NET Framework Security

See Also

Reference

IVsWCFReferenceGroup Interface

Microsoft.VisualStudio.WCFReference.Interop Namespace