Partager via


IVsWCFMetadataStorage.CreateMetadataFile Method

Creates a new metadata file in a Windows Communication Foundation (WCF) metadata storage.

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

Syntax

'Déclaration
Function CreateMetadataFile ( _
    pszMetadataSuggestedName As String, _
    content As Byte() _
) As String
string CreateMetadataFile(
    string pszMetadataSuggestedName,
    byte[] content
)
String^ CreateMetadataFile(
    [InAttribute] String^ pszMetadataSuggestedName, 
    [InAttribute] array<unsigned char>^ content
)
abstract CreateMetadataFile : 
        pszMetadataSuggestedName:string * 
        content:byte[] -> string 
function CreateMetadataFile(
    pszMetadataSuggestedName : String, 
    content : byte[]
) : String

Parameters

  • pszMetadataSuggestedName
    Type: System.String
    The suggested name for the file. May be overridden if a file that uses the same name already exists.
  • content
    Type: array<System.Byte[]
    A Byte array that contains the metadata for the file.

Return Value

Type: System.String
The name of the new metadata file.

.NET Framework Security

See Also

Reference

IVsWCFMetadataStorage Interface

Microsoft.VisualStudio.WCFReference.Interop Namespace