Udostępnij za pośrednictwem


ServiceDocumentFormatter.TryParseAttribute Metoda

Definicja

Próbuje przeanalizować rozszerzenie atrybutu.

Przeciążenia

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

Próbuje przeanalizować rozszerzenie atrybutu.

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

Próbuje przeanalizować rozszerzenia atrybutów.

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

Próbuje przeanalizować rozszerzenie atrybutu.

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

Próbuje przeanalizować rozszerzenie atrybutu.

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

Próbuje przeanalizować rozszerzenie atrybutu.

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

Parametry

name
String

Nazwa elementu.

ns
String

Przestrzeń nazw elementu.

value
String

Atrybut do analizy.

workspace
Workspace

Element Workspace , który służy do analizowania atrybutu.

version
String

Wersja syndykacji do użycia podczas analizowania.

Zwraca

Boolean

true jeśli rozszerzenie atrybutu zostało pomyślnie przeanalizowane; w przeciwnym razie , false.

Dotyczy

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

Próbuje przeanalizować rozszerzenia atrybutów.

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

Parametry

name
String

Nazwa elementu.

ns
String

Przestrzeń nazw elementu.

value
String

Rozszerzenie atrybutu do analizy.

document
ServiceDocument

Element ServiceDocument do użycia do analizowania rozszerzenia atrybutu.

version
String

Wersja syndykacji do użycia podczas analizowania.

Zwraca

Boolean

true jeśli rozszerzenie atrybutu zostało pomyślnie przeanalizowane; w przeciwnym razie , false.

Dotyczy

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

Próbuje przeanalizować rozszerzenie atrybutu.

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

Parametry

name
String

Nazwa elementu.

ns
String

Przestrzeń nazw elementu.

value
String

Atrybut do analizy.

categories
CategoriesDocument

Element CategoriesDocument do użycia do analizowania rozszerzenia atrybutu.

version
String

Wersja syndykacji do użycia podczas analizowania.

Zwraca

Boolean

true jeśli rozszerzenie atrybutu zostało pomyślnie przeanalizowane.

Dotyczy

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

Próbuje przeanalizować rozszerzenie atrybutu.

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

Parametry

name
String

Nazwa elementu.

ns
String

Przestrzeń nazw elementu.

value
String

Atrybut do analizy.

collection
ResourceCollectionInfo

Element ResourceCollectionInfo , który służy do analizowania atrybutu.

version
String

Wersja syndykacji do użycia podczas analizowania.

Zwraca

Boolean

true jeśli rozszerzenie atrybutu zostało pomyślnie przeanalizowane; w przeciwnym razie , false.

Dotyczy