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>