Interface IST_ResourceSection
Assembly: STResourceManager.dll
Syntax
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("D28C07BF-C927-4619-BA2F-751F29565FFA")]
public interface IST_ResourceSection
Properties
Count
Number of resources in collection
Declaration
Property Value
ResourceType
Declaration
TST_ResourceType ResourceType { get; set; }
Property Value
this[int]
Declaration
IST_Resource this[int Index] { get; }
Parameters
| Type |
Name |
Description |
| int |
Index |
|
Property Value
StorageType
Storage location type for resources
Declaration
TST_ResourceStorageType StorageType { get; set; }
Property Value
Methods
AddResource(IST_Resource)
Add resource to collection
Declaration
int AddResource(IST_Resource ARes)
Parameters
Returns
| Type |
Description |
| int |
Index of added resource
|
Clear()
Remove all resources from collection
Declaration
DeleteResource(int)
Declaration
void DeleteResource(int Index)
Parameters
| Type |
Name |
Description |
| int |
Index |
|
FindResource(string, string)
Find resource by name and namespace
Declaration
int FindResource(string AName, string ANameSpace)
Parameters
Returns
| Type |
Description |
| int |
Index if found, -1 otherwise
|
FindResourceByFilePath(string)
Find resource by file path
Declaration
int FindResourceByFilePath(string FilePath)
Parameters
| Type |
Name |
Description |
| string |
FilePath |
|
Returns
| Type |
Description |
| int |
Index if found, -1 otherwise
|