DynamicAttributes.Has Method
Whether an attribute exists in the element. This element is introduced in Windows PowerShell 5.0.
Namespace: Microsoft.OneGet.Utility.Xml
Assembly: Microsoft.OneGet.Utility (in Microsoft.OneGet.Utility.dll)
Usage
'Usage
Dim instance As DynamicAttributes
Dim attributeName As String
Dim returnValue As Boolean
returnValue = instance.Has(attributeName)
Syntax
'Declaration
Public Function Has ( _
attributeName As String _
) As Boolean
public bool Has (
string attributeName
)
public:
bool Has (
String^ attributeName
)
public boolean Has (
String attributeName
)
public function Has (
attributeName : String
) : boolean
Parameters
- attributeName
Return Value
Returns true if the attribute exists; otherwise false.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Target Platforms
See Also
Reference
DynamicAttributes Class
DynamicAttributes Members
Microsoft.OneGet.Utility.Xml Namespace