GetResourcePropAttrib Method
Retrieves a dictionary of key/value pairs that denote the attributes of the specified property of the specified resource.
Namespace: Microsoft.CommerceServer.Interop.Configuration
Assembly: Microsoft.CommerceServer.Interop.Configuration.MSCSCfg (in Microsoft.CommerceServer.Interop.Configuration.MSCSCfg.dll)
Syntax
'Declaration
Public Function GetResourcePropAttrib ( _
strResourceName As String, _
strPropName As String _
) As Dictionary
'Usage
Dim instance As SiteConfigFreeThreaded
Dim strResourceName As String
Dim strPropName As String
Dim returnValue As Dictionary
returnValue = instance.GetResourcePropAttrib(strResourceName, _
strPropName)
public Dictionary GetResourcePropAttrib(
string strResourceName,
string strPropName
)
public:
Dictionary^ GetResourcePropAttrib(
String^ strResourceName,
String^ strPropName
)
public function GetResourcePropAttrib(
strResourceName : String,
strPropName : String
) : Dictionary
Parameters
- strResourceName
Type: System..::.String
The name of the resource.
- strPropName
Type: System..::.String
The name of the resource property.
Return Value
Type: Microsoft.CommerceServer.Runtime..::.Dictionary
An object reference to a Dictionary object containing the key/value pairs that denote the attributes of the specified property of the specified resource.
Remarks
The Initialize method must be called before this method can be called.
For more information about the Dictionary object, see Dictionary Object.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.