Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
'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: 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.