Sdílet prostřednictvím


IVsWCFMetadataStorage.CreateMetadataFile(String, Byte[]) Method

Definition

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

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

Parameters

pszMetadataSuggestedName
String

The suggested name for the file. May be overridden if a file that uses the same name already exists.

content
Byte[]

A Byte array that contains the metadata for the file.

Returns

The name of the new metadata file.

Applies to