LoadModelResult.GetLoadedResourceOfType 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
GetLoadedResourceOfType(ObjectType) |
检索作为此模型的一部分加载的给定类型的所有资源。 |
GetLoadedResourceOfType(ObjectType, List<ResourceBase>) |
GetLoadedResourceOfType(ObjectType)
检索作为此模型的一部分加载的给定类型的所有资源。
public:
System::Collections::Generic::IReadOnlyList<Microsoft::Azure::RemoteRendering::ResourceBase ^> ^ GetLoadedResourceOfType(Microsoft::Azure::RemoteRendering::ObjectType type);
public System.Collections.Generic.IReadOnlyList<Microsoft.Azure.RemoteRendering.ResourceBase> GetLoadedResourceOfType (Microsoft.Azure.RemoteRendering.ObjectType type);
member this.GetLoadedResourceOfType : Microsoft.Azure.RemoteRendering.ObjectType -> System.Collections.Generic.IReadOnlyList<Microsoft.Azure.RemoteRendering.ResourceBase>
Public Function GetLoadedResourceOfType (type As ObjectType) As IReadOnlyList(Of ResourceBase)
参数
- type
- ObjectType
返回
注解
InvalidType如果“type”超出指定范围,则会发生错误。
适用于
GetLoadedResourceOfType(ObjectType, List<ResourceBase>)
public:
void GetLoadedResourceOfType(Microsoft::Azure::RemoteRendering::ObjectType type, System::Collections::Generic::List<Microsoft::Azure::RemoteRendering::ResourceBase ^> ^ resultList);
public void GetLoadedResourceOfType (Microsoft.Azure.RemoteRendering.ObjectType type, System.Collections.Generic.List<Microsoft.Azure.RemoteRendering.ResourceBase> resultList);
member this.GetLoadedResourceOfType : Microsoft.Azure.RemoteRendering.ObjectType * System.Collections.Generic.List<Microsoft.Azure.RemoteRendering.ResourceBase> -> unit
Public Sub GetLoadedResourceOfType (type As ObjectType, resultList As List(Of ResourceBase))
参数
- type
- ObjectType
- resultList
- List<ResourceBase>