Freigeben über


IVsServiceReferenceMetadataStorage.CreateMetadataFile Method

Creates a new metadata file in a XML web service metadata storage.

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

Syntax

'Declaration
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: String
    The suggested name for the file. May be overridden if a file that uses the same name already exists.
  • content
    Type: array<Byte[]
    A Byte array that contains the metadata for the file.

Return Value

Type: String
The name of the new metadata file.

.NET Framework Security

See Also

Reference

IVsServiceReferenceMetadataStorage Interface

Microsoft.VisualStudio.WCFReference.Interop Namespace