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: System.StringThe 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.