PowerShell 获取实例的所有成员
示例
PS > Get-Member -InputObject $anObjectInstance
这将返回类型实例的所有成员。这是String实例的示例输出的一部分
TypeName: System.String Name MemberType Definition ---- ---------- ---------- Clone Method System.ObjectClone(),System.ObjectICloneable.Clone() CompareTo Method int CompareTo(System.Object value), int CompareTo(string strB), i... Contains Method bool Contains(string value) CopyTo Method void CopyTo(int sourceIndex, char[] destination, int destinationI... EndsWith Method bool EndsWith(string value), bool EndsWith(string value, System.S... Equals Method bool Equals(System.Object obj), bool Equals(string value), bool E... GetEnumerator Method System.CharEnumeratorGetEnumerator(), System.Collections.Generic... GetHashCode Method int GetHashCode() GetType Method type GetType() ...
热门推荐
10 财运虎年祝福语简短语
11 单亲爸爸春节祝福语简短
12 狗狗上厕所训练
13 植物种植祝福语简短
14 翻译考试祝福语朋友简短
15 个人周年庆简短祝福语
16 狗狗怎么训练
17 分别祝福语简短搞笑英文
18 生日广州男生祝福语简短