AuthorizationRuleCollection.Get(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the AuthorizationRule at the specified index.
public:
System::Web::Configuration::AuthorizationRule ^ Get(int index);
public System.Web.Configuration.AuthorizationRule Get (int index);
member this.Get : int -> System.Web.Configuration.AuthorizationRule
Public Function Get (index As Integer) As AuthorizationRule
Parameters
- index
- Int32
The AuthorizationRule index.
Returns
The AuthorizationRule at the specified index.
Examples
The following code example shows how to use the Get method. Refer to the code example in the AuthorizationSection class topic to learn how to get the collection.
// Using the AuthorizationRuleCollection Get method.
AuthorizationRule authRule =
authorizationRuleCollection.Get(0);
' Using the AuthorizationRuleCollection Get method.
Dim authRule As AuthorizationRule = _
authorizationRuleCollection.Get(0)
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.