Aracılığıyla paylaş


ServiceDocumentFormatter.TryParseAttribute Yöntem

Tanım

Bir öznitelik uzantısını ayrıştırmaya çalışır.

Aşırı Yüklemeler

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

Bir öznitelik uzantısını ayrıştırmaya çalışır.

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

Öznitelik uzantılarını ayrıştırmaya çalışır.

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

Bir öznitelik uzantısını ayrıştırmaya çalışır.

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

Bir öznitelik uzantısını ayrıştırmaya çalışır.

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

Bir öznitelik uzantısını ayrıştırmaya çalışır.

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

Parametreler

name
String

Öğe adı.

ns
String

öğesinin ad alanı.

value
String

Ayrıştırma özniteliği.

workspace
Workspace

Workspace özniteliğini ayrıştırmak için kullanılacak.

version
String

Ayrıştırma sırasında kullanılacak dağıtım sürümü.

Döndürülenler

Boolean

true öznitelik uzantısı başarıyla ayrıştırıldıysa; aksi takdirde , false.

Şunlara uygulanır

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

Öznitelik uzantılarını ayrıştırmaya çalışır.

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

Parametreler

name
String

Öğe adı.

ns
String

öğesinin ad alanı.

value
String

Ayrıştırmak için öznitelik uzantısı.

document
ServiceDocument

ServiceDocument öznitelik uzantısını ayrıştırmak için kullanılacak.

version
String

Ayrıştırma sırasında kullanılacak dağıtım sürümü.

Döndürülenler

Boolean

true öznitelik uzantısı başarıyla ayrıştırıldıysa; aksi takdirde , false.

Şunlara uygulanır

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

Bir öznitelik uzantısını ayrıştırmaya çalışır.

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

Parametreler

name
String

Öğe adı.

ns
String

öğesinin ad alanı.

value
String

Ayrıştırma özniteliği.

categories
CategoriesDocument

CategoriesDocument öznitelik uzantısını ayrıştırmak için kullanılacak.

version
String

Ayrıştırma sırasında kullanılacak dağıtım sürümü.

Döndürülenler

Boolean

true öznitelik uzantısı başarıyla ayrıştırıldıysa.

Şunlara uygulanır

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

Bir öznitelik uzantısını ayrıştırmaya çalışır.

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

Parametreler

name
String

Öğe adı.

ns
String

öğesinin ad alanı.

value
String

Ayrıştırma özniteliği.

collection
ResourceCollectionInfo

ResourceCollectionInfo özniteliğini ayrıştırmak için kullanılacak.

version
String

Ayrıştırma sırasında kullanılacak dağıtım sürümü.

Döndürülenler

Boolean

true öznitelik uzantısı başarıyla ayrıştırıldıysa; aksi takdirde , false.

Şunlara uygulanır