ServiceDocumentFormatter.TryParseAttribute Metod

Definition

Försöker parsa ett attributtillägg.

Överlagringar

TryParseAttribute(String, String, String, Workspace, String)

Källa:
ServiceDocumentFormatter.cs
Källa:
ServiceDocumentFormatter.cs
Källa:
ServiceDocumentFormatter.cs
Källa:
ServiceDocumentFormatter.cs

Försöker parsa ett attributtillägg.

protected:
 static bool TryParseAttribute(System::String ^ name, System::String ^ ns, System::String ^ value, System::ServiceModel::Syndication::Workspace ^ workspace, System::String ^ version);
protected static bool TryParseAttribute(string name, string ns, string value, System.ServiceModel.Syndication.Workspace workspace, string version);
static member TryParseAttribute : string * string * string * System.ServiceModel.Syndication.Workspace * string -> bool
Protected Shared Function TryParseAttribute (name As String, ns As String, value As String, workspace As Workspace, version As String) As Boolean

Parametrar

name
String

Namnet på elementet.

ns
String

Elementets namnområde.

value
String

Attributet som ska parsas.

workspace
Workspace

Att Workspace använda för att parsa attributet.

version
String

Den syndikeringsversion som ska användas vid parsning.

Returer

trueom attributtillägget parsades korrekt; annars . false

Gäller för

TryParseAttribute(String, String, String, ServiceDocument, String)

Källa:
ServiceDocumentFormatter.cs
Källa:
ServiceDocumentFormatter.cs
Källa:
ServiceDocumentFormatter.cs
Källa:
ServiceDocumentFormatter.cs

Försöker parsa ett attributtillägg.

protected:
 static bool TryParseAttribute(System::String ^ name, System::String ^ ns, System::String ^ value, System::ServiceModel::Syndication::ServiceDocument ^ document, System::String ^ version);
protected static bool TryParseAttribute(string name, string ns, string value, System.ServiceModel.Syndication.ServiceDocument document, string version);
static member TryParseAttribute : string * string * string * System.ServiceModel.Syndication.ServiceDocument * string -> bool
Protected Shared Function TryParseAttribute (name As String, ns As String, value As String, document As ServiceDocument, version As String) As Boolean

Parametrar

name
String

Namnet på elementet.

ns
String

Elementets namnområde.

value
String

Attributtillägget som ska parsas.

document
ServiceDocument

Att ServiceDocument använda för att parsa attributtillägget.

version
String

Den syndikeringsversion som ska användas vid parsning.

Returer

trueom attributtillägget parsades korrekt; annars . false

Gäller för

TryParseAttribute(String, String, String, CategoriesDocument, String)

Källa:
ServiceDocumentFormatter.cs
Källa:
ServiceDocumentFormatter.cs
Källa:
ServiceDocumentFormatter.cs
Källa:
ServiceDocumentFormatter.cs

Försöker parsa ett attributtillägg.

protected:
 static bool TryParseAttribute(System::String ^ name, System::String ^ ns, System::String ^ value, System::ServiceModel::Syndication::CategoriesDocument ^ categories, System::String ^ version);
protected static bool TryParseAttribute(string name, string ns, string value, System.ServiceModel.Syndication.CategoriesDocument categories, string version);
static member TryParseAttribute : string * string * string * System.ServiceModel.Syndication.CategoriesDocument * string -> bool
Protected Shared Function TryParseAttribute (name As String, ns As String, value As String, categories As CategoriesDocument, version As String) As Boolean

Parametrar

name
String

Namnet på elementet.

ns
String

Elementets namnområde.

value
String

Attributet som ska parsas.

categories
CategoriesDocument

Att CategoriesDocument använda för att parsa attributtillägget.

version
String

Den syndikeringsversion som ska användas vid parsning.

Returer

true om attributtillägget parsades.

Gäller för

TryParseAttribute(String, String, String, ResourceCollectionInfo, String)

Källa:
ServiceDocumentFormatter.cs
Källa:
ServiceDocumentFormatter.cs
Källa:
ServiceDocumentFormatter.cs
Källa:
ServiceDocumentFormatter.cs

Försöker parsa ett attributtillägg.

protected:
 static bool TryParseAttribute(System::String ^ name, System::String ^ ns, System::String ^ value, System::ServiceModel::Syndication::ResourceCollectionInfo ^ collection, System::String ^ version);
protected static bool TryParseAttribute(string name, string ns, string value, System.ServiceModel.Syndication.ResourceCollectionInfo collection, string version);
static member TryParseAttribute : string * string * string * System.ServiceModel.Syndication.ResourceCollectionInfo * string -> bool
Protected Shared Function TryParseAttribute (name As String, ns As String, value As String, collection As ResourceCollectionInfo, version As String) As Boolean

Parametrar

name
String

Namnet på elementet.

ns
String

Elementets namnområde.

value
String

Attributet som ska parsas.

collection
ResourceCollectionInfo

Att ResourceCollectionInfo använda för att parsa attributet.

version
String

Den syndikeringsversion som ska användas vid parsning.

Returer

trueom attributtillägget parsades korrekt; annars . false

Gäller för