Aracılığıyla paylaş


ModelExplorer.GetExplorerForProperty Yöntem

Tanım

Aşırı Yüklemeler

GetExplorerForProperty(String)

verilen namenull veya özelliği bulunamazsa özelliği için bir ModelExplorer alır.

GetExplorerForProperty(String, Func<Object,Object>)

verilen namenull veya özelliği bulunamazsa özelliği için bir ModelExplorer alır.

GetExplorerForProperty(String, Object)

verilen namenull veya özelliği bulunamazsa özelliği için bir ModelExplorer alır.

GetExplorerForProperty(String)

Kaynak:
ModelExplorer.cs
Kaynak:
ModelExplorer.cs
Kaynak:
ModelExplorer.cs

verilen namenull veya özelliği bulunamazsa özelliği için bir ModelExplorer alır.

public:
 Microsoft::AspNetCore::Mvc::ViewFeatures::ModelExplorer ^ GetExplorerForProperty(System::String ^ name);
public Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer GetExplorerForProperty (string name);
member this.GetExplorerForProperty : string -> Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer
Public Function GetExplorerForProperty (name As String) As ModelExplorer

Parametreler

name
String

Özellik adı.

Döndürülenler

Bir ModelExplorer, veya null.

Şunlara uygulanır

GetExplorerForProperty(String, Func<Object,Object>)

Kaynak:
ModelExplorer.cs
Kaynak:
ModelExplorer.cs
Kaynak:
ModelExplorer.cs

verilen namenull veya özelliği bulunamazsa özelliği için bir ModelExplorer alır.

public:
 Microsoft::AspNetCore::Mvc::ViewFeatures::ModelExplorer ^ GetExplorerForProperty(System::String ^ name, Func<System::Object ^, System::Object ^> ^ modelAccessor);
public Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer GetExplorerForProperty (string name, Func<object,object> modelAccessor);
member this.GetExplorerForProperty : string * Func<obj, obj> -> Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer
Public Function GetExplorerForProperty (name As String, modelAccessor As Func(Of Object, Object)) As ModelExplorer

Parametreler

name
String

Özellik adı.

modelAccessor
Func<Object,Object>

Model değeri için bir erişimci.

Döndürülenler

Bir ModelExplorer, veya null.

Açıklamalar

Bu, belirli bir model erişimci işlevine sahip bir model gezgini oluşturduğundan, sonuç önbelleğe alınmaz.

Şunlara uygulanır

GetExplorerForProperty(String, Object)

Kaynak:
ModelExplorer.cs
Kaynak:
ModelExplorer.cs
Kaynak:
ModelExplorer.cs

verilen namenull veya özelliği bulunamazsa özelliği için bir ModelExplorer alır.

public:
 Microsoft::AspNetCore::Mvc::ViewFeatures::ModelExplorer ^ GetExplorerForProperty(System::String ^ name, System::Object ^ model);
public Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer GetExplorerForProperty (string name, object model);
member this.GetExplorerForProperty : string * obj -> Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer
Public Function GetExplorerForProperty (name As String, model As Object) As ModelExplorer

Parametreler

name
String

Özellik adı.

model
Object

Model değeri.

Döndürülenler

Bir ModelExplorer, veya null.

Açıklamalar

Bu, belirli bir model değerine sahip bir model gezgini oluşturduğundan, sonuç önbelleğe alınmaz.

Şunlara uygulanır