Поделиться через


ICustomPropertyProvider.GetIndexedProperty(String, TypeName) Метод

Определение

Возвращает объект поддержки ICustomProperty пользовательского свойства, указывая имя свойства и тип индексированных коллекций.

public:
 ICustomProperty ^ GetIndexedProperty(Platform::String ^ name, TypeName type);
ICustomProperty GetIndexedProperty(winrt::hstring const& name, TypeName const& type);
public ICustomProperty GetIndexedProperty(string name, System.Type type);
function getIndexedProperty(name, type)
Public Function GetIndexedProperty (name As String, type As Type) As ICustomProperty

Параметры

name
String

Platform::String

winrt::hstring

Имя свойства для получения объекта поддержки.

type
TypeName Type

Тип индексированных коллекций, указанный в качестве оболочки TypeName .

Возвращаемое значение

Возвращенный вспомогательный объект для настраиваемого свойства или nullptr.

Применяется к

См. также раздел